<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <title>餐厅列表</title>
  </head>
  <body>
    <h1>餐厅列表</h1>
    <ul>
      {% for restaurant in restaurants %}
      <li>
        <a href="{% url 'restaurant_detail' restaurant.id %}"
          >{{ restaurant.name }}</a
        >
      </li>
      {% endfor %}
    </ul>
  </body>
</html>
